package com.fr.report.script.core.parser;

import com.fr.report.script.Calculator;
import com.fr.util.Utils;

public class NumberLiteral extends Tiny
{
  private String statement;

  NumberLiteral(String paramString)
  {
    this.statement = paramString;
  }

  public Object eval(Calculator paramCalculator)
    throws UtilEvalError
  {
    return Utils.string2Number(this.statement);
  }

  public String toString()
  {
    return this.statement;
  }

  public String getExpression(int paramInt1, int paramInt2, int paramInt3, int paramInt4, boolean paramBoolean)
  {
    return toString();
  }
}